package com.dtzhejiang.social.supervision.risk.engine.core.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dtzhejiang.social.supervision.risk.engine.common.domain.po.SpiderHospitalBusinessLicenseEntity;

import java.util.List;

public interface SpiderHospitalBusinessLicenseMapper extends BaseMapper<SpiderHospitalBusinessLicenseEntity> {

    int insert(SpiderHospitalBusinessLicenseEntity record);

    int insertSelective(SpiderHospitalBusinessLicenseEntity record);

    SpiderHospitalBusinessLicenseEntity selectByPrimaryKey(Integer id);

    SpiderHospitalBusinessLicenseEntity selectByShopId(String shopId);

    int updateByPrimaryKeySelective(SpiderHospitalBusinessLicenseEntity record);

    /**
     * 根据主键id更新信息
     * @param record
     * @return
     */
    int updateByPrimaryKey(SpiderHospitalBusinessLicenseEntity record);

    /**
     * 获取所有的店铺id
     * @return
     */
    List<String> selectAllShopIds();

    List<SpiderHospitalBusinessLicenseEntity> selectAllBusinessLicense();
}